<?php

use yii\helpers\Url;

?>
<!DOCTYPE html>
<html>

<head>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">


  <title>后台-登录</title>
  <link rel="shortcut icon" href="<?=Url::to(['/favicon.ico'])?>">
  <link href="<?=Url::to(['/admin/css/bootstrap.min.css'])?>" rel="stylesheet">
  <link href="<?=Url::to(['/admin/css/font-awesome.min.css'])?>" rel="stylesheet">

  <link href="<?=Url::to(['/admin/css/animate.min.css'])?>" rel="stylesheet">
  <link href="<?=Url::to(['/admin/css/style.min.css'])?>" rel="stylesheet">
  <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->
  <script src="https://cdn.bootcss.com/seajs/3.0.2/sea.js"></script>
  <script>
  seajs.config({
    base: '/admin/js/modules/'
  })
  </script>
</head>

<body class="gray-bg">

  <div class="middle-box text-center loginscreen  animated fadeInDown">
    <div>
      <div>

        <h1 class="logo-name">HT</h1>
        <!--Gold  Manager  -->

      </div>
      <h3>欢迎使用 海通会后台系统</h3>

      <div class="form-group">
        <input type="email" class="form-control" placeholder="用户名" required="" name="admin_name">
      </div>
      <div class="form-group">
        <input type="password" class="form-control" placeholder="密码" required="" name="admin_pwd">
      </div>
      <input type="hidden" id="_csrf" value="<?=Yii::$app->request->csrfToken?>">
      <button type="submit" class="btn btn-primary block full-width m-b login"
        data-url="<?=Url::to(['/admin/default/login'])?>">登
        录
      </button>


    </div>
  </div>
  <script src="<?=Url::to(['/admin/js/jquery.min.js'])?>">
  </script>
  <script src="<?=Url::to(['/admin/js/bootstrap.min.js'])?>">
  </script>
</body>
<script>
seajs.use('login', function(login) {
  login.loginMember()
});
</script>

</html>